Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / ui / src / commonMain / kotlin / org / meshtastic / core / ui / component / MeshtasticCommonAppSetup.kt

Displaying Raw • Download

core/ui/src/commonMain/kotlin/org/meshtastic/core/ui/component/MeshtasticCommonAppSetup.kt ea85b906e86c00261ec91f9ad7cf4a601417d135 (ea85b906) Text, 1.77 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.ui.component

Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787org.meshtastic.core.ui.viewmodel.UIViewModel

T8b949e/**
* Common application-level setup for all Meshtastic platforms (Android, Desktop, etc.).
*
* This component encapsulates headless global UI logic that must reside at the root of the application hierarchy. It
* manages:
* - Shared system dialogs (e.g. contact/channel import)
* - Global version and firmware checks
* - System-wide alerts and snackbar hosts
* - Deep link navigation interception logic
*
* Platform hosts should invoke this near the root before rendering `MeshtasticNavDisplay`.
*/
Tf0883e@Composable
Tff7b72fun Td2a8ffMeshtasticCommonAppSetupTb4b4b4(
Te6edf3uiViewModelTb4b4b4: Te6edf3UIViewModelTb4b4b4,
Te6edf3onNavigateToTracerouteMapTb4b4b4: Tb4b4b4(Te6edf3destinationNodeNumTb4b4b4: Tffa657IntTb4b4b4, Te6edf3requestIdTb4b4b4: Tffa657IntTb4b4b4, Te6edf3logUuidTb4b4b4: Tffa657String?Tb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Tb4b4b4) Tb4b4b4{
Te6edf3SharedDialogsTb4b4b4(Te6edf3uiViewModel Tff7b72= Te6edf3uiViewModelTb4b4b4)
Te6edf3FirmwareVersionCheckTb4b4b4(Te6edf3viewModel Tff7b72= Te6edf3uiViewModelTb4b4b4)
Te6edf3AlertHostTb4b4b4(Te6edf3alertManager Tff7b72= Te6edf3uiViewModelTb4b4b4.Te6edf3alertManagerTb4b4b4)
Te6edf3TracerouteAlertHandlerTb4b4b4(Te6edf3uiViewModel Tff7b72= Te6edf3uiViewModelTb4b4b4, Te6edf3onNavigateToMap Tff7b72= Te6edf3onNavigateToTracerouteMapTb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s